Documents for PDF .NET Edition
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Common Namespace / ReadOnlyStructList<T> Class / CopyTo Method / CopyTo(Int32,T[],Int32,Int32) Method
The zero-based index in the source ReadOnlyStructList<T> at which copying begins.
The one-dimensional System.Array that is the destination of the elements copied from ReadOnlyStructList<T>.
The zero-based index in array at which copying begins.
The number of elements to copy.

In This Topic
    CopyTo(Int32,T[],Int32,Int32) Method
    In This Topic
    Copies a range of elements from the ReadOnlyStructList<T> to a compatible one-dimensional array, starting at the specified index of the target array.
    Syntax
    'Declaration
     
    Public Overloads Sub CopyTo( _
       ByVal index As System.Integer, _
       ByVal array() As T, _
       ByVal arrayIndex As System.Integer, _
       ByVal count As System.Integer _
    ) 
    public void CopyTo( 
       System.int index,
       T[] array,
       System.int arrayIndex,
       System.int count
    )

    Parameters

    index
    The zero-based index in the source ReadOnlyStructList<T> at which copying begins.
    array
    The one-dimensional System.Array that is the destination of the elements copied from ReadOnlyStructList<T>.
    arrayIndex
    The zero-based index in array at which copying begins.
    count
    The number of elements to copy.
    See Also